package com.platform.comm.common.batch.listener;

import org.springframework.batch.core.annotation.AfterProcess;
import org.springframework.batch.core.annotation.BeforeProcess;
import org.springframework.batch.core.annotation.OnProcessError;

import java.util.HashMap;

public class CustomItemValidationProcessListener {

    @BeforeProcess
    public void beforeProcess(HashMap item) {
    }

    @AfterProcess
    public void afterProcess(HashMap item, HashMap result) {

    }

    @OnProcessError
    public void onProcessError(HashMap item, Exception e) {

    }

}
